﻿<%@ Page Language="C#" MasterPageFile="MasterPageUser.master" AutoEventWireup="true"
    CodeFile="ItemDetail.aspx.cs" Inherits="Client_ItemDetail" Title="ii-online" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="UserControl/ucItemDetail.ascx" TagName="ucItemDetail" TagPrefix="uc1" %>
<%@ Register Src="UserControl/TinhNangNoiBat.ascx" TagName="TinhNangNoiBat" TagPrefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script type="text/javascript">
        window.parent.document.getElementById("TB_ajaxWindowTitle").firstChild.nodeValue = "CHI TIẾT SẢN PHẨM";
    </script>

    <script type="text/javascript">
        function UpdateParentsCart(val) {
            if (window.parent.SetShoppingCart != null)
                window.parent.SetShoppingCart(val);
        }                        
    </script>

    <script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "templatemo_menu", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

<script language="javascript" type="text/javascript">
function clearText(field)
{
    if (field.defaultValue == field.value) field.value = '';
    else if (field.value == '') field.value = field.defaultValue;
}
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<link href="css/tabPopup.css" rel="stylesheet" type="text/css" />
    <uc1:ucItemDetail ID="ucItemDetail1" runat="server" />
    <asp:TabContainer ID="TabContainer1" runat="server">
        <asp:TabPanel ID="tab1" runat="server">
            <HeaderTemplate>
                Đặc tính nổi bật
            </HeaderTemplate>
            <ContentTemplate>
                <uc2:TinhNangNoiBat ID="TinhNangNoiBat1" runat="server" />
            </ContentTemplate>
        </asp:TabPanel>
    </asp:TabContainer>
    
 

</asp:Content>
